package controllers;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;

import play.mvc.Controller;


import models.Barco;
import models.Classe;

public class visualizarBarcos extends Application {

	/*************************************************************/
	
	public static void visualizarBarcos() throws SQLException {
		
		List<Barco> barcos = new ArrayList<Barco>();
		
		barcos = Barco.recuperarBarcos();
		
		render(barcos);
	}	
	
	/*************************************************************/

}
